package com.stadium.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 赛事详情
 *
 * @author wsl
 * @email
 * @date 2021-05-04 09:39:10
 */
@Data
@ApiModel(value = "赛事详情Dto")
public class GameEventDto {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private String id;
    @ApiModelProperty(value = "赛事分类id")
    private String userId;
    @ApiModelProperty(value = "赛事分类id")
    private String adminName;
    @ApiModelProperty(value = "赛事分类id")
    private String categoryId;
    @ApiModelProperty(value = "赛事分类id")
    private String categoryName;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "地点")
    private String address;
    @ApiModelProperty(value = "场馆")
    private String stadium;
    @ApiModelProperty(value = "报名费用")
    private Double registrationFee;
    @ApiModelProperty(value = "报名开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date registrationStarttime;

    @ApiModelProperty(value = "报名结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date registrationEndtime;

    @ApiModelProperty(value = "比赛时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date competitionStarttime;

    @ApiModelProperty(value = "比赛结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date competitionEndtime;

    @ApiModelProperty(value = "主办方")
    private String sponsor;
    @ApiModelProperty(value = "联系电话")
    private String phoneNum;
    @ApiModelProperty(value = "管理员电话")
    private String adminPhone;
    @ApiModelProperty(value = "赛事logo")
    private String logo;
    @ApiModelProperty(value = "背景图")
    private String background;
    @ApiModelProperty(value = "比赛规则")
    private String ruleId;
    @ApiModelProperty(value = "比赛规则名称")
    private String ruleName;
    @ApiModelProperty(value = "状态")
    private String status;
    @ApiModelProperty(value = "备注")
    private String remark;

    private List<TeamListDto> teamList = new ArrayList();

    private List<GameScheduleDto> scheduleList = new ArrayList();
}
